<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->

<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->

<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->

<html lang="zh-cn" xml:lang="zh-cn">
 <head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="DC.Type" content="topic">
  <meta name="DC.Title" content="周期性执行备份">
  <meta name="product" content="">
  <meta name="DC.Relation" scheme="URI" content="zh-cn_topic_0000001839260405.html">
  <meta name="prodname" content="">
  <meta name="version" content="">
  <meta name="brand" content="30-OceanProtect 备份一体机 1.5.0-1.6.0 帮助中心">
  <meta name="DC.Publisher" content="20240320">
  <meta name="DC.Format" content="XHTML">
  <meta name="DC.Identifier" content="ZH-CN_TOPIC_0000001792381316">
  <meta name="DC.Language" content="zh-cn">
  <link rel="stylesheet" type="text/css" href="public_sys-resources/commonltr.css">
  <title>周期性执行备份</title>
 </head>
 <body style="clear:both; padding-left:10px; padding-top:5px; padding-right:5px; padding-bottom:5px">
  <a name="ZH-CN_TOPIC_0000001792381316"></a><a name="ZH-CN_TOPIC_0000001792381316"></a>
  <h1 class="topictitle1">周期性执行备份</h1>
  <div>
   <p>将需要保护的命名空间或数据集关联到指定SLA，系统将按照SLA中定义的配置周期性执行备份。周期性备份产生的副本名称默认为<em>资源名称_时间戳</em>。</p>
   <div class="section" id="ZH-CN_TOPIC_0000001792381316__section592472483112">
    <h4 class="sectiontitle">注意事项</h4>
    <p id="ZH-CN_TOPIC_0000001792381316__p74027249145">请确保生产存储预留空间大于待备份资源所占用的大小。</p>
   </div>
   <div class="section">
    <h4 class="sectiontitle">前提条件</h4>
    <ul>
     <li>用于运行备份Pod的节点必须安装CSIDriver，并且备份的PVC也同时使用的是该CSIDriver。不支持没有安装CSIDriver的PVC备份。在CCE部署的Kubernetes集群中的CSIDriver将附带安装。在FusionCompute部署的Kubernetes集群中，CSIDriver可访问以下地址，参考FusionCompute对应版本的产品文档中的“管理Huawei Storage eSDK CSI组件”章节进行安装。
      <ul>
       <li>企业用户：<a href="https://support.huawei.com/enterprise/zh/virtualization/fusioncompute-pid-8576912" target="_blank" rel="noopener noreferrer">点此前往</a></li>
       <li>运营商用户：<a href="https://support.huawei.com/carrier/productNewOffering?col=product&amp;resTab=PD&amp;path=PBI1-21430725/PBI1-251363742/PBI1-21431663/PBI1-254217483/PBI1-8576912&amp;lang=zh&amp;scene=DS-HDX" target="_blank" rel="noopener noreferrer">点此前往</a></li>
      </ul></li>
     <li>在生产环境导入备份Pod镜像时，应选择与生产节点同架构的镜像。</li>
     <li>每个PVC备份时会拉起一个备份Pod，该备份Pod的启动最长时间为24h。</li>
    </ul>
   </div>
   <div class="section">
    <h4 class="sectiontitle">周期性备份命名空间</h4>
    <ol>
     <li><span>选择<span class="uicontrol" id="ZH-CN_TOPIC_0000001792381316__zh-cn_topic_0000001792381196_zh-cn_topic_0000001839142377_uicontrol846217343614">“<span id="ZH-CN_TOPIC_0000001792381316__zh-cn_topic_0000001792381196_zh-cn_topic_0000001839142377_text1046212303610">保护</span> &gt; 容器 &gt; <span id="ZH-CN_TOPIC_0000001792381316__zh-cn_topic_0000001792381196_zh-cn_topic_0000001839142377_text149606591485">Kubernetes CSI</span>”</span>。</span></li>
     <li><span>选择“<span>命名空间</span>”页签，选择需要保护的命名空间。</span></li>
     <li><span>单击<span class="uicontrol">“<span>保护</span>”</span>。</span></li>
     <li><span>选择系统预置或用户自行创建的SLA。</span><p></p><p>您也可以单击<span class="uicontrol">“<span>创建</span>”</span>，创建新的SLA。</p> <p></p></li>
     <li id="ZH-CN_TOPIC_0000001792381316__li122951146155214"><span>选择SLA后可根据使用场景启用或关闭<span class="uicontrol" id="ZH-CN_TOPIC_0000001792381316__uicontrol56798203554">“<span id="ZH-CN_TOPIC_0000001792381316__text065615184191">应用一致性备份</span>”</span>功能。</span><p></p>
      <div class="p" id="ZH-CN_TOPIC_0000001792381316__p18841229193913">
       应用一致性备份的功能是在备份过程中捕获Kubernetes集群上同一时间点的数据，并且备份内存数据、静默应用程序，保证应用程序数据的一致性。
       <div class="note" id="ZH-CN_TOPIC_0000001792381316__note15981240115620">
        <img src="public_sys-resources/note_3.0-zh-cn.png"><span class="notetitle"> </span>
        <div class="notebody">
         <p id="ZH-CN_TOPIC_0000001792381316__p75981840145610">进行应用一致性备份，需要用户在生产环境<span style="color:#282B33;">的Pod上配置前/后置命令</span>，配置操作示例请参见<a href="zh-cn_topic_0000001792381352.html">应用一致性备份的生产环境Pod配置（通用）</a>。</p>
        </div>
       </div>
      </div> <p></p></li>
     <li><span>单击<span class="uicontrol" id="ZH-CN_TOPIC_0000001792381316__zh-cn_topic_0000001607841256_uicontrol471113581111">“确定”</span>。</span><p></p><p id="ZH-CN_TOPIC_0000001792381316__zh-cn_topic_0000001607841256_p25041111535">如果当前系统时间已晚于该SLA首次备份的开始时间，则关联备份SLA后可以选择在当前立即执行备份或者根据SLA中设置的备份策略等待下次调度。</p> <p></p></li>
    </ol>
   </div>
   <div class="section">
    <h4 class="sectiontitle">周期性备份数据集</h4>
    <ol>
     <li><span>选择<span class="uicontrol" id="ZH-CN_TOPIC_0000001792381316__zh-cn_topic_0000001792381196_zh-cn_topic_0000001839142377_uicontrol846217343614_1">“<span id="ZH-CN_TOPIC_0000001792381316__zh-cn_topic_0000001792381196_zh-cn_topic_0000001839142377_text1046212303610_1">保护</span> &gt; 容器 &gt; <span id="ZH-CN_TOPIC_0000001792381316__zh-cn_topic_0000001792381196_zh-cn_topic_0000001839142377_text149606591485_1">Kubernetes CSI</span>”</span>。</span></li>
     <li><span>选择<span class="uicontrol">“<span>数据集</span>”</span>页签，选择需要保护的数据集。</span></li>
     <li><span>单击<span class="uicontrol">“<span>保护</span>”</span>。</span></li>
     <li><span>选择用户自行创建的SLA。</span><p></p><p>您也可以单击<span class="uicontrol">“<span>创建</span>”</span>，创建新的SLA。</p> <p></p></li>
     <li><span>选择SLA后可根据使用场景启用或关闭<span class="uicontrol" id="ZH-CN_TOPIC_0000001792381316__zh-cn_topic_0000001792381316_uicontrol56798203554">“<span id="ZH-CN_TOPIC_0000001792381316__zh-cn_topic_0000001792381316_text065615184191">应用一致性备份</span>”</span>功能。</span><p></p>
      <div class="p" id="ZH-CN_TOPIC_0000001792381316__zh-cn_topic_0000001792381316_p18841229193913">
       应用一致性备份的功能是在备份过程中捕获Kubernetes集群上同一时间点的数据，并且备份内存数据、静默应用程序，保证应用程序数据的一致性。
       <div class="note" id="ZH-CN_TOPIC_0000001792381316__zh-cn_topic_0000001792381316_note15981240115620">
        <img src="public_sys-resources/note_3.0-zh-cn.png"><span class="notetitle"> </span>
        <div class="notebody">
         <p id="ZH-CN_TOPIC_0000001792381316__zh-cn_topic_0000001792381316_p75981840145610">进行应用一致性备份，需要用户在生产环境<span style="color:#282B33;">的Pod上配置前/后置命令</span>，配置操作示例请参见<a href="zh-cn_topic_0000001792381352.html">应用一致性备份的生产环境Pod配置（通用）</a>。</p>
        </div>
       </div>
      </div> <p></p></li>
     <li><span>单击<span class="uicontrol" id="ZH-CN_TOPIC_0000001792381316__zh-cn_topic_0000001607841256_uicontrol471113581111_1">“确定”</span>。</span><p></p><p id="ZH-CN_TOPIC_0000001792381316__zh-cn_topic_0000001607841256_p25041111535_1">如果当前系统时间已晚于该SLA首次备份的开始时间，则关联备份SLA后可以选择在当前立即执行备份或者根据SLA中设置的备份策略等待下次调度。</p> <p></p></li>
    </ol>
   </div>
  </div>
  <div>
   <div class="familylinks">
    <div class="parentlink">
     <strong>父主题：</strong> <a href="zh-cn_topic_0000001839260405.html">步骤8：执行备份</a>
    </div>
   </div>
  </div>
 </body>
</html>